package com.ruoyi.pollution.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * 废水排放口对象 BUS_PS_BAS_WATEROUTPUT
 * 
 * @author ruoyi
 * @date 2025-09-19
 */
public class BusPsBasWateroutput extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 排口编号 */
    private String outportcode;

    private String countycode;

    /** 污染源企业id */
    @Excel(name = "污染源企业id")
    private String polluteid;

    /** 污染源编码 */
    @Excel(name = "污染源编码")
    private String entcode;

    @Excel(name = "企业名称")
    private String pollutename;

    /** 排口名称 */
    @Excel(name = "排口名称")
    private String outportname;

    /** 排口地址 */
    @Excel(name = "排口地址")
    private String address;

    /** 投产日期 */
    @Excel(name = "投产日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date rundate;

    /** 运行状态 */
    @Excel(name = "运行状态")
    private String runstatus;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 图片 */
    @Excel(name = "图片")
    private String photo;

    private String photofile;

    /**  排口类型（2进，1出） */
    @Excel(name = " 排口类型", readConverterExp = "2=进，1出")
    private String outputtype;

    /** 监测方式 */
    @Excel(name = "监测方式")
    private String watchtype;

    /** 监测频率 */
    @Excel(name = "监测频率")
    private String watchfrequency;

    /** 排放去向 */
    @Excel(name = "排放去向")
    private String outputwhithercode;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 更新日期 */
    @Excel(name = "更新日期")
    private Date updatedate;

    private String pollutantcode;

    private List<BusPsCodOutputpollutant> pollutantList;

    public void setOutportcode(String outportcode) 
    {
        this.outportcode = outportcode;
    }

    public String getOutportcode() 
    {
        return outportcode;
    }

    public void setPolluteid(String polluteid) 
    {
        this.polluteid = polluteid;
    }

    public String getPolluteid() 
    {
        return polluteid;
    }

    public void setEntcode(String entcode) 
    {
        this.entcode = entcode;
    }

    public String getEntcode() 
    {
        return entcode;
    }

    public void setOutportname(String outportname) 
    {
        this.outportname = outportname;
    }

    public String getOutportname() 
    {
        return outportname;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setRundate(Date rundate)
    {
        this.rundate = rundate;
    }

    public Date getRundate()
    {
        return rundate;
    }

    public void setRunstatus(String runstatus) 
    {
        this.runstatus = runstatus;
    }

    public String getRunstatus() 
    {
        return runstatus;
    }

    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }

    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }

    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    public void setOutputtype(String outputtype) 
    {
        this.outputtype = outputtype;
    }

    public String getOutputtype() 
    {
        return outputtype;
    }

    public void setWatchtype(String watchtype) 
    {
        this.watchtype = watchtype;
    }

    public String getWatchtype() 
    {
        return watchtype;
    }

    public void setWatchfrequency(String watchfrequency) 
    {
        this.watchfrequency = watchfrequency;
    }

    public String getWatchfrequency() 
    {
        return watchfrequency;
    }

    public void setOutputwhithercode(String outputwhithercode) 
    {
        this.outputwhithercode = outputwhithercode;
    }

    public String getOutputwhithercode() 
    {
        return outputwhithercode;
    }

    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    public void setUpdatedate(Date updatedate)
    {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate()
    {
        return updatedate;
    }

    public String getCountycode() {
        return countycode;
    }

    public void setCountycode(String countycode) {
        this.countycode = countycode;
    }

    public String getPollutename() {
        return pollutename;
    }

    public void setPollutename(String pollutename) {
        this.pollutename = pollutename;
    }

    public String getPhotofile() {
        return photofile;
    }

    public void setPhotofile(String photofile) {
        this.photofile = photofile;
    }

    public String getPollutantcode() {
        return pollutantcode;
    }

    public void setPollutantcode(String pollutantcode) {
        this.pollutantcode = pollutantcode;
    }

    public List<BusPsCodOutputpollutant> getPollutantList() {
        return pollutantList;
    }

    public void setPollutantList(List<BusPsCodOutputpollutant> pollutantList) {
        this.pollutantList = pollutantList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("outportcode", getOutportcode())
            .append("polluteid", getPolluteid())
            .append("entcode", getEntcode())
            .append("outportname", getOutportname())
            .append("address", getAddress())
            .append("rundate", getRundate())
            .append("runstatus", getRunstatus())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("photo", getPhoto())
            .append("outputtype", getOutputtype())
            .append("watchtype", getWatchtype())
            .append("watchfrequency", getWatchfrequency())
            .append("outputwhithercode", getOutputwhithercode())
            .append("remarks", getRemarks())
            .append("updatedate", getUpdatedate())
            .toString();
    }
}
